package com.barbeque.mall.service.mallmanagement;

import com.barbeque.mall.bean.BasePageInfo;
import com.barbeque.mall.bean.issue.MarketIssue;
import com.barbeque.mall.bean.order.MarketOrder;
import com.barbeque.mall.bean.param.CommonData;

public interface IssueService {
    /**
     * 显示问题信息
     * @author ycc
     * @since 2022/07/17 19:24 
     */
    CommonData<MarketOrder> list(BasePageInfo pageInfo, MarketIssue issue);

    /**
     * 修改问答内容
     * @author ycc
     * @since 2022/07/17 21:06 
     */
    int update(MarketIssue issue);

    /**
     * 根据id删除问答
     * @author ycc
     * @since 2022/07/17 21:26 
     */
    int delete(MarketIssue issue);
    
    /**
     * 添加问答
     * @author ycc
     * @since 2022/07/17 21:40 
     */
    int create(MarketIssue issue);
}
